package com.xindacloud.sms.console.system.dto;

import com.xindacloud.sms.console.system.dto.common.PageDTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SmsApiReqParamDTO",description="Api文档请求参数DTO")
public class SmsApiReqParamDTO extends PageDTO implements Serializable {
    private static final long serialVersionUID = 6683147692659162246L;
    @ApiModelProperty(value="主键",name="id",notes = "主键",example="", required = true)
    private Long id;
    @ApiModelProperty(value="api的id",name="apiId",notes = "api的id",example="", required = true)
    private Long apiId;
    @ApiModelProperty(value="参数名",name="paramName",notes = "参数名",example="", required = true)
    private String paramName;
    @ApiModelProperty(value="参数类型",name="paramType",notes = "参数类型",example="", required = false)
    private String paramType;
    @ApiModelProperty(value="是否必填0是，1否",name="mustFill",notes = "是否必填0是，1否",example="", required = false)
    private Integer mustFill;
    @ApiModelProperty(value="描述",name="des",notes = "描述",example="", required = false)
    private String des;
    @ApiModelProperty(value="示例",name="demo",notes = "示例",example="", required = false)
    private String demo;
}
